package com.atguigu.srb.oss;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ComponentScan({"com.atguigu.srb.common","com.atguigu.srb.oss","com.atguigu.srb.base"})
@EnableDiscoveryClient
public class ServiceOssApplication {
    public static void main(String[] args) {
        // 启动类
        SpringApplication.run(ServiceOssApplication.class, args);
        System.out.println("ServiceOss启动成功");
    }
}
